package com.smm.web.vmc.service;

import com.smm.web.vmc.domain.relation.CameraReceiptRelation;

import java.util.List;

/**
 * Created by zhenghao on 2016/9/9.
 *
 */
public interface CameraReceiptRelationService {


    void add(CameraReceiptRelation crr) throws Exception;

    /**
     * 删除制定仓单的所有关联关系
     * @param receiptNo
     * @throws Exception
     */
    void deleteAllByReceipt(String receiptNo) throws Exception;


    List<CameraReceiptRelation> getAllByReceipt(String receiptNo);


    //查询指定摄像头的所有关联关系
    List<CameraReceiptRelation> getAllByCamera(int cameraId);
}
